import request from '@/utils/request.js'
// 服务列表
export function getServicesLists(query) {
    return request({
        url: '/joining/partner.Service/getLists',
        method: 'post',
        params: query
    })
}

// 服务分类列表
export function getCatesLists(query) {
    return request({
        url: '/joining/partner.Service/getCateLists',
        method: 'post',
        params: query
    })
}

// 服务分类列表
export function setServiceInfo(query) {
    return request({
        url: '/joining/partner.Service/setInfo',
        method: 'post',
        params: query
    })
}

// 服务详情
export function getServiceInfo(query) {
    return request({
        url: '/joining/partner.Service/getInfo',
        method: 'post',
        params: query
    })
}

// 服务详情
export function setServiceStatus(query) {
    return request({
        url: '/joining/partner.Service/setStatus',
        method: 'post',
        params: query
    })
}

// 服务详情
export function delServiceInfo(query) {
    return request({
        url: '/joining/partner.Service/delInfo',
        method: 'post',
        params: query
    })
}

// 服务_获取设置的抽成比例
export function getTakeInfo(query) {
    return request({
        url: '/joining/partner.Service/getTake',
        method: 'post',
        params: query
    })
}

// 服务_设置抽成比例
export function setTakeInfo(query) {
    return request({
        url: '/joining/partner.Service/setTake',
        method: 'post',
        params: query
    })
}
